<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Dubbo动态发布系统</title>
</head>
<body>
<!-- Content Wrapper. Contains page content -->
<div>
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            服务管理
            <small>主机列表</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i>服务管理</a></li>
            <li><a href="#">主机列表</a></li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row" ng-controller="hostController">
            <div class="col-xs-12">
                <div class="box">
                    <div class="box-body">
                        <div class="row">
                            <div class="col-xs-3">

                            </div>

                        </div>

                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table id="table1"
                               class="table table-bordered  table-striped table-hover">
                            <thead>
                            <tr>
                                <th>Application</th>
                                <th>Host</th>
                                <th>Port</th>
                                <th>Url</th>
                                <th>Timestamp</th>
                                <th>Operation</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr ng-repeat="item in data| filter:search">
                                <td>{{item.application}}</td>
                                <td>{{item.host}}</td>
                                <td>{{item.port}}</td>
                                <td>{{item.url}}</td>
                                <td>{{item.timestamp | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                                <td>
                                    <a href="/listDynamicBean?url={{item.url}}">
                                        <button class="btn btn-primary btn-sm">
                                            <i class="glyphicon"> 查看 </i>
                                        </button>
<!--                                        <button class="btn btn-info btn-sm"
                                                onclick='genneratorModalPop("${datasource.id }")'>添加服务
                                        </button>
                                        <button class="btn btn-warning btn-sm"
                                                onclick='genneratorWebModalPop("${datasource.id }")'>待发布服务
                                        </button>-->
                                    </a>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->
            </div>
        </div>
    </section>
    <!-- /.content -->

</div>
</body>

<!-- /.content-wrapper -->
</html>